package com.springBoot.commonClass;

import com.springBoot.entity.FieldsEntity;

import java.util.List;
import java.util.Map;

public class PostNewFile{
    private String objId;
    private String orgId;
    private String ownerId;
    private String label;
    private String name;
    private String description;
    private String createBy;
    private String lastModifiedBy;
    private List<FieldsEntity> fieldList;
    private List<Map<String, String>> dataList;
    private Integer modifiedRows;
    private Integer modifiedColumns;

    public PostNewFile(){
        this.modifiedColumns = 0;
        this.modifiedRows = 0;
    }

    public void init(){
        this.objId = Utils.getUuid();
        this.orgId = Utils.getUuid();
        this.ownerId = Utils.getUuid();
    }

    public String getObjId() {
        return objId;
    }

    public void setObjId(String objId) {
        this.objId = objId;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(String ownerId) {
        this.ownerId = ownerId;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getLastModifiedBy() {
        return lastModifiedBy;
    }

    public void setLastModifiedBy(String lastModifiedBy) {
        this.lastModifiedBy = lastModifiedBy;
    }

    public List<FieldsEntity> getFieldList() {
        return fieldList;
    }

    public void setFieldList(List<FieldsEntity> fieldList) {
        this.fieldList = fieldList;
    }

    public List<Map<String, String>> getDataList() {
        return dataList;
    }

    public void setDataList(List<Map<String, String>> dataList) {
        this.dataList = dataList;
    }

    public Integer getModifiedRows() {
        return modifiedRows;
    }

    public void setModifiedRows(Integer modifiedRows) {
        this.modifiedRows = modifiedRows;
    }

    public Integer getModifiedColumns() {
        return modifiedColumns;
    }

    public void setModifiedColumns(Integer modifiedColumns) {
        this.modifiedColumns = modifiedColumns;
    }
}
